const PENGING = 'penging';
function Promise(exector) {
    let self = this;
    self.start = PENGING;
    self.onResolveCallback = [];
    self.onRejectdCallbacks = [];
    function reolve() {
        
    }
    function reject() {
        
    }
    try{
        exector()
    }catch (e) {
        console.log(e);
        reject(e)
    }
}